﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;

namespace EngineOfEvermore.Editor.SceneEditor
{
    public class Coordinator
    {
        readonly App _app;

        public Coordinator( App app )
        {
            _app = app;
        }

        public void TryClose()
        {
            // TODO: if there are open documents with pending changes then ask before closing
            _app.View.MainForm.Close();
        }
    }
}
